package com.h2.ref.server.user.openid;

import java.util.Collection;

import com.h2.ref.server.user.model.User;

public interface IOpenIdDao {

   public abstract OpenId findByIdentityUrl(String identityUrl);

   public Collection<OpenId> findOpenIds(User user);
   
   public void addOpenId(OpenId openId);
   
   public void deleteOpenId(OpenId openId);

   void deleteUser(User user);
   
}